import request from '@/utils/request'

// 查询采集人员表列表
export function listCollect_user(query) {
  return request({
    url: '/collect_user/collect_user/list',
    method: 'get',
    params: query
  })
}

// 查询采集人员表详细
export function getCollect_user(id) {
  return request({
    url: '/collect_user/collect_user/' + id,
    method: 'get'
  })
}

// 新增采集人员表
export function addCollect_user(data) {
  return request({
    url: '/collect_user/collect_user',
    method: 'post',
    data: data
  })
}

// 修改采集人员表
export function updateCollect_user(data) {
  return request({
    url: '/collect_user/collect_user',
    method: 'put',
    data: data
  })
}

// 删除采集人员表
export function delCollect_user(id) {
  return request({
    url: '/collect_user/collect_user/' + id,
    method: 'delete'
  })
}
